package com.feijiang.service;

import com.feijiang.entity.Experiment;
import com.baomidou.mybatisplus.extension.service.IService;
import com.feijiang.util.MyPage;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2021-12-28
 */
public interface IExperimentService extends IService<Experiment> {
  boolean add(Experiment experiment);

  boolean edit(Experiment experiment);

  boolean delete(int exprId);

  MyPage list(int pageSize, int pageNum);

  boolean exist(int id);

  Experiment getById(int id);

  List<Experiment> search(String keyword);
}
